﻿//-----------------------------------------------------------------------
// <copyright file="ICarrierService.cs" company="SLWY Enterprises">
// * Copyright (C) 2017 四川商旅无忧科技有限公司 版权所有。
// * version : 1.0
// * author  : qinchaoyue
// * FileName: ICarrierService.cs
// * history : created by qinchaoyue 2018-01-04 04:36:02
// </copyright>
//-----------------------------------------------------------------------

using System.Collections.Generic;
using Slwy.Core.Entities;
using Slwy.FrameCore.Dependency;

namespace Slwy.Core.DomainService.IService
{
    public interface ICarrierService : IScopeDependency
    {
        bool AddCarrierByEF(IList<CarrierInfo> entities);

        bool AddCarrierBySqlSugar(IList<CarrierInfo> entities);

        bool UpdateCarrierByEF();
        bool UpdateCarrierBySqlSugar();
    }
}
